package com.meirengu.webview.dao;

import com.meirengu.dao.BaseDao;
import com.meirengu.webview.model.LmTrackEventInfo;
import org.apache.ibatis.session.RowBounds;

import java.util.List;
import java.util.Map;

/**
 * LmTrackEventInfoDao
 *
 * @author Mao
 * @create Sat Jun 09 15:34:19 CST 2018
 */
public interface LmTrackEventInfoDao extends BaseDao<LmTrackEventInfo> {

    List<Map<String, Object>> getPageById(Map map, RowBounds rowBounds);

    int getCountById(Map map);

    /**
     * 统计lm_track_event_info中指定product_id的指定日期的统计信息
     */
    Map<String, Object> countItems(Map<String, Object> params);

}
